/**
 * Written by Timbot
 * V1.0, June 2007
 */
package com.as3.timbot.events
{
	import flash.events.Event;
	import flash.utils.ByteArray;
	
	public class BytesEvent extends Event
	{
		private var __byteArray:ByteArray;
		/**
		*	Set the value of the event
		* 
		*	@param value The String associated with the event
		*
		* 	@langversion ActionScript 3.0
		*	@playerversion Flash 9.0
		*	@tiptext
		*/
		public function setBytes(value:ByteArray):void
		{
			__byteArray = value;
		}
		/**
		*	Retrieves the value of the event
		* 
		*	@returns String The string associated with the event
		*
		* 	@langversion ActionScript 3.0
		*	@playerversion Flash 9.0
		*	@tiptext
		*/
		public function getBytes():ByteArray
		{
			return __byteArray;
		}
		public function BytesEvent(type:String, bubbles:Boolean = false,cancelable:Boolean = false)
		{
			super(type,bubbles,cancelable);
		}
	}
}